package org.yoyo.classroom.service;



import org.yoyo.classroom.domain.po.Permission;

import java.util.List;

public interface PermissionService {
    List<Permission> getAllPermissions();
    Permission getPermissionById(Long id);
    boolean addPermission(Permission permission);
    boolean updatePermission(Permission permission);
    boolean deletePermission(Long id);
    List<Permission> findPermissionByRoleId(Integer roleId);
}
